/**
 * Copyright (c) 2007,中企动力华南研发中心<br>
 * All rights reserved.
 */
package com.ce.pms.charge.dao;

import java.math.BigDecimal;

import com.ce.pms.base.dao.IPmsBaseDao;
import com.ce.pms.charge.model.CharStaChoDomain;
import com.ce.pms.charge.vo.CharStaChoFixedVO;
import com.ce.pms.charge.vo.ChargeStaChoVO;
import com.sitechasia.webx.core.support.Page;

/**
 * 功能描述：房间标准选用固定费用持久层<br>
 * @author 罗军林 创建日期：2008-8-7
 */
public interface ICharStoChoFixedDao extends IPmsBaseDao<CharStaChoDomain>{
	/**
	 * 功能描述:查询满足条件的收费项目<br>
	 * @param condition
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-7<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public Page queryCharStoCho(ChargeStaChoVO condition);

	/**
	 * 功能描述:增加一个固定收费标准选用<br>
	 * @param charStaChoMeterVO<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-12<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public void addCharStaChoFixed(CharStaChoFixedVO charStaChoFixedVO);

	/**
	 * 功能描述:当项目ID、房号ID相同时，返回true<br>
	 * 注：修改时要排除oldCondition条件
	 * @param searchCondition
	 * @param oldCondition
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-13<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public Boolean checkExistCharStoChoFixed(CharStaChoFixedVO searchCondition,CharStaChoFixedVO oldCondition);

	/**
	 * 功能描述:更新指定标准的费用。<br>
	 * @param chargeStaId
	 * @param chargeAmts 房间与费用的MAP<br>
	 * Create author:罗军林<br>
	 * Create on:2008-10-10<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public void updateCharStoAmt(Long chargeStaId,BigDecimal chargeAmt);
}
